package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.ThsDailyBean;

/**
* 描述：获取同花顺板块指数行情。注：数据版权归属同花顺，如做商业用途，请主动联系同花顺，如需帮助请联系微信migedata 。
* @author: codesmith
**/
@Data
@TableName("ths_daily")
public class ThsDailyEntity implements ThsDailyBean {
    
    /*
    * TS指数代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;
    /*
    * 交易日
    */
    @TableId
    @TableField("`trade_date`") protected LocalDate tradeDate;

    @TableField("`close`") protected Double close;

    @TableField("`open`") protected Double open;

    @TableField("`high`") protected Double high;

    @TableField("`low`") protected Double low;

    @TableField("`pre_close`") protected Double preClose;

    @TableField("`avg_price`") protected Double avgPrice;

    @TableField("`change`") protected Double change;

    @TableField("`pct_change`") protected Double pctChange;

    @TableField("`vol`") protected Double vol;

    @TableField("`turnover_rate`") protected Double turnoverRate;

    @TableField("`total_mv`") protected Double totalMv;

    @TableField("`float_mv`") protected Double floatMv;
}